.class Lcom/waiqin365/compons/camera/ak;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/hardware/Camera$AutoFocusCallback;


# instance fields
.field final synthetic a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onAutoFocus(ZLandroid/hardware/Camera;)V
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    iput-boolean v2, v0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->d:Z

    if-eqz p1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0, v2}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c(Lcom/waiqin365/compons/camera/ContinueCameraActivity;I)I

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->x(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->b()V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)I

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a()V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)I

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->A(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)I

    move-result v0

    const/4 v1, 0x1

    if-ge v0, v1, :cond_2

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    iget-object v0, v0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->e:Landroid/hardware/Camera$AutoFocusCallback;

    invoke-virtual {p2, v0}, Landroid/hardware/Camera;->autoFocus(Landroid/hardware/Camera$AutoFocusCallback;)V

    :goto_1
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "**************\u5bf9\u7126\u5931\u8d25 "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->A(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "\u6b21****************"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0, v2}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c(Lcom/waiqin365/compons/camera/ContinueCameraActivity;I)I

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->x(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->b()V

    goto :goto_1

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)I

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ak;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a()V

    goto :goto_1
.end method
